pvh: use PV handlers for PIO
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Wed, 13 Nov 2013 08:40:03 +0000 (09:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 13 Nov 2013 08:40:03 +0000 (09:40 +0100)
commit77f9975599720ad4ed4a561be7610b248f615aab
tree35c478b653315a27daf8b1518582dbf47a12c69e
parentbcb18d14468446f2bcc06ed1264bed38ad7ac0c1
pvh: use PV handlers for PIO

Register an IO handler for the entire PIO range, and have it call the
PV PIO handlers.

NB at this point this won't do the full "copy and execute on the stack
with full GPRs" work-around; this may need to be sorted out for dom0 to allow
these instructions to happen in guest context.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Eddie Dong <eddie.dong@intel.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/traps.c
xen/include/asm-x86/traps.h